package org.myspringframework.beans.factory;


import org.myspringframework.beans.BeansException;

//定义了一个标准的IoC容器
public interface BeanFactory {

    Object getBean(String name) throws BeansException;

    Object getBean(String name,Object... args) throws BeansException;

    <T> T getBean(String name, Class<T> Class) throws BeansException;

    <T> T getBean(Class<T> requiredType) throws BeansException;

    //根据beanName获取bean的class
    Class<?> getType(String var1) throws BeansException;


}